<template>
  <!-- <dv-border-box-8 :dur="0" :color="['#03a9f485']" backgroundColor="#03a9f485">
    <div class="title">111111111</div>
    <slot></slot>
  </dv-border-box-8>-->
  <div class="border">
    <div class="title">{{ title }}</div>
    <div class="content">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "标题"
    }
  }
};
</script>

<style lang="scss" scoped>
.border {
  border: 1px solid #03a9f485;
  height: 100%;
  box-sizing: border-box;
  .title {
    color: #fff;
    text-align: center;
    background: #7b9ceb69;
    line-height: 25px;
    box-sizing: border-box;
    letter-spacing: 3px;
  }
  .content {
    height: calc(100% - 25px);
    width: 100%;
  }
}
</style>